package com.thwj.project.biz.enums;

/**
 * 活动的状态
 * 1：小力度的定时任务（30秒）更新一次 订单状态
 * 2：详情页读取时 更新状态
 * 3：未来考虑引入mq延时消息
 */
public enum ActivityStatusEnum {
    signUpIng(10,"报名中"),
    signUpCutOff(20,"已截止"),
    inProgress(30,"进行中"),
    end(40,"已结束"),
    cancel(50,"已取消"),
    ;
    ActivityStatusEnum(int value, String name){
        this.name = name;
        this.value = value;
    }

    private int value;
    private String name;

    public int getValue() {
        return value;
    }

    public String getName() {
        return name;
    }
}
